<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>内容管理</title>
    <link href="__ROOT__/public/boot/css/bootstrap.min.css" rel="stylesheet">
    <link href="__ROOT__/public/common/css/font-awesome.min.css" rel="stylesheet">
    <link href="__ROOT__/public/system/css/stu.css" rel="stylesheet">
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
<include file="./Theme/Admin/boot/Public/nav.html"/>
<main>
	<div class="container">
		
		<div class="con">
		<div class="row">
			<div class="col-md-12">
				<div class="func">
				 <div class="col-md-6 curd">
					<a href="{:U('Photo/release')}" class="green-b"><i class="icon-plus"></i>添加</a>
					<a href="" class="gules-b"><i class="icon-trash"></i>删除</a>
					<a href="" class="orange-b"><i class="icon-edit"></i>修改</a>
			   </div>
				 <div class="col-md-6 search">
					<form role="search" action="{:U('/so/')}">
					<div class="input-group">
            <input type="text" class="form-control" placeholder="想看什么..." name="key">
            <span class="input-group-btn">
              <button class="btn btn-default" type="submit"><i class="icon-search"></i></button>
            </span>
          </div>
          </form>
				 </div>
				</div>
			</div>
		</div>
		
		<div class="row">
			<div class="col-md-12">
			<div class="panel panel-default">
  				<div class="panel-heading">相册列表</div>
  				 <div class="photo-list">
  				 	<foreach name="list" item="vo">
   					<div class="col-sm-6 col-md-2 item">
    					<div class="thumbnail">
      					<img src="{$vo.img}" alt="{$vo.title}">
      				<div class="caption">
        			<p>
        				{$vo.title}
        			</p>
        			<p>
        				<div class="curd-mi">
        					<eq name="vo.state" value="0">
        						<a href="{:U('photo/state',array('id'=>$vo['id']))}" class="state-t">
        							<i class="icon-eye-open"></i>
        						</a>	
        					<else/>
        						<a href="{:U('photo/state',array('id'=>$vo['id']))}" class="gules-b">
        							<i class="icon-eye-close"></i>
        						</a>
        					</eq>
        				
        				<a href="{:U('photo/editor',array('id'=>$vo['id']))}" class="light-blue-b"><i class="icon-edit"></i></a>
								<a href="{:U('photo/delete',array('id'=>$vo['id']))}" class="gules-b"><i class="icon-trash"></i></a>
								</div>
        			</p>
      				</div>
   						 </div>
  					</div>
  					</foreach>
  				</div>
			</div>
			</div>
		</div>
		<div class="row">
			
		</div>
		</div>
	</div>
</main>
<footer>
	
</footer>
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script src="__ROOT__/public/Boot/js/bootstrap.min.js"></script>
  </body>
</html>